package com.leadingsoft.pwxk.converter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.ZlsscxsstableDto;
import com.leadingsoft.pwxk.model.Zlsscxsstable;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class ZlsscxsstableConverter extends AbstractConverter<Zlsscxsstable, ZlsscxsstableDto> {

	@Override
	protected ZlsscxsstableDto toDtoActual(Zlsscxsstable model) {

		ZlsscxsstableDto dto = new ZlsscxsstableDto();
		dto.setId(model.getId());
		dto.setDataid(model.getDataid());
		dto.setCsxxothercontent(model.getCsxxothercontent());
		dto.setDesignvalue(model.getDesignvalue());
		dto.setMeasurement(model.getMeasurement());
		dto.setParametername(model.getParametername());
		return dto;
	}

	@Override
	public void copyProperties(Zlsscxsstable model, ZlsscxsstableDto dto) {

	}

}
